package com.yx.pc.api.service.impl;

import com.yx.modules.api.dao.TbInterviewInfoDao;
import com.yx.modules.api.entity.TbInterviewInfo;
import com.yx.pc.api.service.PcTbInterviewInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class PcTbInterviewInfoServiceImpl implements PcTbInterviewInfoService {
	@Autowired
	private TbInterviewInfoDao interviewInfoDao;
	
	@Override
	public TbInterviewInfo queryObject(Integer id){
		return interviewInfoDao.queryObject(id);
	}
	
	@Override
	public List<TbInterviewInfo> queryList(Map<String, Object> map){
		return interviewInfoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return interviewInfoDao.queryTotal(map);
	}
	
	@Override
	public void save(TbInterviewInfo interviewInfo){
		interviewInfoDao.save(interviewInfo);
	}
	
	@Override
	public void update(TbInterviewInfo interviewInfo){
		interviewInfoDao.update(interviewInfo);
	}
	
	@Override
	public void delete(Integer id){
		interviewInfoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		interviewInfoDao.deleteBatch(ids);
	}
	
}
